home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-12-23 | 1.3 KB | 55 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="1"
- "COUNT"="1"
- "UIPATH"="Internet\Internet Explorer\Appearance"
- "NAME"="Window Title"
- "VERSION"="1.20"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Title"
- "DESCRIPTION 1"="You can change the title of the Internet Explorer window here."
- "DESCRIPTION 2"="To have to original title again, clear the field and press "Apply"."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to cicp^p for his help!"
-
-
- Sub Plugin_Initialize
- if RegPathExists("HKCU\Software\Microsoft\Internet Explorer") then
- s=RegReadValue("HKCU\Software\Microsoft\Internet Explorer\Main\Window Title")
- SetUIElement 1,s
- else
- Disable()
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
-
- if len(s)=0 then
-
- 'If values exists, delete it
- s=RegReadValue("HKCU\Software\Microsoft\Internet Explorer\Main\Window Title")
- if IsEmpty(s)=false then
- Call RegDeleteValue("HKCU\Software\Microsoft\Internet Explorer\Main\Window Title")
- end if
-
- else
- Call RegWriteValue("HKCU\Software\Microsoft\Internet Explorer\Main\Window Title",s,1)
- end if
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-